package utils;





/** Classe permettant le calcul de scores
 */
public final class Similarity {
  
  private Similarity() {}			  // no public constructor

  

 /**
 * Computes the Innerproduct for a TERM find in a doc and in a query
 */
  //public static final float InnerProd(float poidDoc, short poidReq) {
  //public static final float InnerProd(Double idf, float poidDoc, short poidReq) {
  public static final float InnerProd(double moyCoeffBal, short poidReq) {

	  //return (float) (poidDoc*poidReq);
	  //return (float) (idf*poidDoc*poidReq);
	  return (float) (moyCoeffBal*poidReq);

  } 



} // Similarity.java
